const translation = {
  workflowNotDebugged: '工作流未调试成功',
  noLLMNode: '工作流中没有大模型节点',
  multipleParams: '工作流中输入存在多参数',
  cancel: '取消',
  confirm: '确定',
  continue: '继续',
  save: '保存',
  reset: '重置',
  submit: '提交',
  run: '运行',
  edit: '去编辑',
  delete: '删除',
  add: '添加',
  create: '创建',
  query: '查询',
  debug: '调试',
  pleaseSelect: '请选择',
  inputPlaceholder: '请输入',
  input: '输入',
  output: '输出',
  taskName: '任务名称',
  conversationRounds: '对话轮数',
  conversationRoundsDescription:
    '设置节点中使用对话历史的对话轮数，轮数越多，多轮对话的相关性越高，但消耗的 Token 也越多',
  // Common messages
  submitSuccess: '提交成功',
  submitFailed: '提交失败',
  submitFailedRetry: '提交失败，请重试',
  answeringPleaseTryLater: '回答中，请稍后再试',
  pleaseEnterQuestion: '请输入询问内容',
  answering: '回答中...',
  stopOutput: '停止输出',
  // Member management
  roleUpdateSuccess: '角色更新成功',
  userDeleted: '已删除用户 {{username}}',
  username: '用户名',
  role: '角色',
  joinTime: '加入时间',
  action: '操作',
  confirmDelete: '确认删除',
  confirmDeleteMember: '确定要删除这个成员吗？',
  totalItems: '共 {{total}} 项数据',
  // Apply management
  applyIdNotExist: '申请id不存在',
  confirmReject: '确认拒绝',
  confirmRejectUser: '是否拒绝该用户？',
  rejectSuccess: '拒绝成功',
  rejectFailed: '拒绝失败',
  confirmApprove: '确认通过',
  confirmApproveApplication: '是否确认通过申请？',
  approveSuccess: '通过成功',
  approveFailed: '通过失败',
  reject: '拒绝',
  approve: '通过',
  applyTime: '申请时间',
  applyStatus: '申请状态',
  // Transfer ownership
  pleaseSelectMemberToTransfer: '请选择要转让的成员',
  transferSuccess: '转让成功',
  transferSpaceOwnership: '转移空间所有权',
  transferOwnershipWarning: '转让所有权后,您的状态将改为管理员',
  transferOwnershipTo: '将所有权转让给',
  pleaseSelectMember: '请选择成员',
  // Delete space
  verificationCodeSent: '验证码已发送',
  pleaseEnterVerificationCode: '请输入验证码',
  deleteSpaceSuccess: '删除空间成功',
  deleteSpace: '删除空间',
  deleteSpaceWarning:
    '请谨慎删除！删除后，空间内的所有数据都将丢失，已分配的权益量将被扣除。',
  enterVerificationCodeForMobile:
    '请输入空间所有者预留号码 {{mobile}} 收到的验证码',
  sendVerificationCode: '发送验证码',
  resendAfterSeconds: '{{seconds}}s后重发',
  // Space detail
  loadSpaceInfoFailed: '加载空间信息失败',
  inviteSuccess: '邀请成功',
  selectRole: '选择角色',
  selectStatus: '选择状态',
  pleaseEnterUsername: '请输入用户名',
  // Invitation list
  invitationStatus: '邀请状态',
  invitationTime: '邀请时间',
  joinSpace: '加入空间',
  invitationResentToUser: '已重新发送邀请给 {{username}}',
  invitationRevokedForUser: '已撤回邀请用户 {{username}}',
  invitationRecordDeleted: '已删除 {{username}} 的邀请记录',
  revoke: '撤回',
  confirmRevokeInvitation: '确认撤回邀请',
  confirmRevokeInvitationContent: '是否确认撤回邀请该用户？',
  // Common validation messages
  valueCannotBeEmpty: '值不能为空',
  valueCannotBeRepeated: '值不能重复',
  onlyLettersNumbersDashUnderscore: '只能包含字母、数字、中划线或者下划线',
  onlyLettersNumbersUnderscore: '只能包含字母、数字或者下划线',
  // Common form actions
  previousStep: '上一步',
  nextStep: '下一步',
  // Common plugin related
  pluginParameters: '插件参数',
  inputParameters: '输入参数',
  outputParameters: '输出参数',
  publishedAt: '发布于',
  botAndFlowAnalysis: {
    past7Days: '过去7天',
    past14Days: '过去14天',
    past30Days: '过去30天',
    search: '搜索',
    reset: '重置',
    feedbackUserUid: '反馈用户uid',
    errorCode: '错误码',
    feedbackTime: '反馈时间',
    nodeName: '节点名称',
    totalCalls: '调用总数',
    errorCount: '报错次数',
    operation: '操作',
    details: '详情',
    cumulativeIndicators: '累计指标',
    totalChats: '累计会话数',
    totalUsers: '累计用户数',
    totalTokenConsumption: '累计TOKEN消耗(k)',
    totalMessages: '累计消息数',
    cumulativeIndicatorsNotAffectedByTimeFilter: '累计指标不受时间筛选影响',
    analysisOverview: '分析概览',
    activeUsers: '活跃用户数',
    averageSessionInteraction: '平均会话互动数',
    tokenConsumption: 'Token消耗量',
    stabilityMonitoring: '稳定性监控',
    nodeError: '节点报错情况',
    userFeedbackError: '用户反馈报错',
    errorLog: '错误日志',
    errorReason: '报错原因',
  },
  storePlugin: {
    pluginSquare: '插件广场',
    all: '全部',
    mostPopular: '最受欢迎',
    recentlyUsed: '最近使用',
    xingchenAgentOfficial: '星辰Agent官方',
    noPlugins: '暂无插件',
    privacyStatement: '隐私声明',
    developerStatement:
      '开发者声明：该插件在使用过程中不会收集、传输终端用户的个人信息',
    pluginDetails: '插件详情',
    xingchenOfficial: '星辰官方',
    references: '引用',
    favorites: '收藏',
    botReferences: 'Bot引用数',
    favorited: '已收藏',
    notFavorited: '未收藏',
  },
  header: {
    plugin: '插件',
    knowledge: '知识库',
    database: '数据库',
    rpa: 'RPA',
  },
  // ToolInputParameters component translations
  pleaseEnterDefaultValue: '请输入默认值',
  pleaseEnterParameterValue: '请输入参数值',
  // Constant component translations
  gallerySelection: '图库选择',
  localUpload: '本地上传',
  aiGeneration: 'AI生成',
  contains: '包含',
  notContains: '不包含',
  isEmpty: '为空值',
  isNotEmpty: '不为空值',
  is: '是',
  isNot: '不是',
  startsWith: '开始是',
  endsWith: '结束是',
  equals: '等于',
  notEquals: '不等于',
  greaterThan: '大于',
  greaterThanOrEqual: '大于等于',
  lessThan: '小于',
  lessThanOrEqual: '小于等于',
  isNull: '为空',
  isNotNull: '不为空',
  fuzzyMatch: '模糊匹配',
  fuzzyNotMatch: '模糊不匹配',
  in: '包含',
  notIn: '不包含',
  isNullCondition: '为空',
  isNotNullCondition: '不为空',

  // more-icons 组件相关翻译
  moreIcons: {
    selectIcon: '选择图标',
    categories: {
      common: '常用',
      sport: '运动',
      plant: '植物',
      explore: '探索',
    },
    aiGeneration: {
      avatarDescription: '头像描述 (AI生成)',
      placeholder: '说点什么吧...',
      generate: '生成',
    },
    selectStyle: '选择风格',
    upload: {
      dragOrSelect: '拖拽文件至此，或者',
      chooseFiles: '选择文件',
      supportFormat: '支持上传JPG和PNG等格式的文件。单个文件不超过2MB。',
    },
    validation: {
      descriptionEmpty: '描述不能为空！',
      fileSizeExceed: '上传文件大小不能超出2M！',
      invalidFormat: '请上传JPG和PNG等格式的图片文件',
    },
  },
};

export default translation;
